package com.xdf.wxbebarrel.model.templateMessage;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 2021年2月17日 20:32:31
 * 模板消息 model
 * 具体的模板消息要包装该类后再使用
 */
@XStreamAlias("xml")
public class TemplateMessage {
    @XStreamAlias("touser")
    private String touser;

    @XStreamAlias("template_id")
    private String template_id;

    @XStreamAlias("url")
    private String url;

    @XStreamAlias("miniprogram")
    private MiniProgram miniprogram;

    private static final long serialVersionUID = 1L;

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public MiniProgram getMiniprogram() {
        return miniprogram;
    }

    public void setMiniprogram(MiniProgram miniprogram) {
        this.miniprogram = miniprogram;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "TemplateMessage{" +
                "touser='" + touser + '\'' +
                ", template_id='" + template_id + '\'' +
                ", url='" + url + '\'' +
                ", miniprogram=" + miniprogram +
                '}';
    }
}
